import logging


some_flag2 = False

def trigger_condition2():
    # 模拟触发条件
    return some_flag2


def task5():
    logging.info("tf-2 task5 执行任务 5")

def task6():
    logging.info("tf-2 task6 执行任务 6")

def task7():
    logging.info("tf-2 task7 执行任务 7")
    
def task8():
    logging.info("tf-2 task8 执行任务 8")